﻿using EasyLinkerSDK.Enum;
using EasyLinkerSDK.Model.Server.Common.Interface;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;

namespace EasyLinkerSDK.Model.Server.Common.ServerMessage
{
    public class ServerMessageData : IServerData
    {
        public string Custom { get; set; }

        [JsonConverter(typeof(StringEnumConverter))]
        public MessageErrorType Code { get; set; }

        public string Message { get; set; }

        public string Content { get; set; }
    }
}
